package com.study.modules.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.modules.sys.model.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @Author Mr.Du
 * @Date 2021/10/16 8:56
 */
@Mapper
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    Set<Long> selectMenuIdList(@Param("roleId") Long roleId);

    Set<Long> selectRoleIdList(@Param("menuId") Long menuId);
}
